/*
 *  Copyright (C) 2009  Peter Kist & Jan Ripke
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef __entity_EntityRoot_h
#define __entity_EntityRoot_h 1

#include <Core/Entity/Types.h>
#include <Core/Entity/Entity.h>

namespace galaxy {

    namespace entity {

        class EntityRoot : public Entity
        {
        public:
            /** The EntityRoot entity's type */
            static Entity::Type c_EntityRootType;

        public:
            EntityRoot(void);
            EntityRoot(EntityPtr const& owner); /**< dummy constructor that changes owner to \b this */
            virtual ~EntityRoot(void);

            virtual Entity::Type& getEntityType () { return EntityRoot::c_EntityRootType; };

            /** Since the EntityRoot class has no owner, calling this method has no effect */
            virtual bool changeOwner (EntityPtr newOwner);
        };

    } // namespace entity

} // namespace galaxy

#endif // __entity_EntityRoot_h
